#pragma once
#include "Stdafx.h"

namespace Pulpy
{
	typedef struct												// Create A Structure
	{
		GLubyte	*imageData;										// Image Data (Up To 32 Bits)
		GLuint	 bpp;											// Image Color Depth In Bits Per Pixel.
		GLuint	 width;											// Image Width
		GLuint height;											// Image Height
		GLuint texID;											// Texture ID Used To Select A Texture
	} TextureImage;	
	bool LoadTGA(TextureImage *texture, char *filename, bool mipmap = false);
	void freeTexture(TextureImage *texture);
}